import { IB } from './b.id';
import { IA } from './a';

export { IB };
export class B implements IB {
    static id = IB;
    id = IB;
    constructor(@IA public a: IA) {}

    tob(x) {
        console.log('B:', this.a.toa(x));
        return 'a:' + x;
    }
}
